<template>
  <div class="modal-mask" v-show="flag">
    <div class="modal-container">
      <div class="modal-header">
        <h3>就诊记录详情</h3>
        <span class="close-btn">X</span>
      </div>
      <div class="modal-body">
        <p><strong>就诊日期：</strong>{{ date }}</p>
        <p><strong>医生姓名：</strong>{{ uname }}</p>
        <p><strong>诊断结果：</strong>{{ end }}</p>
        <p><strong>处方信息：</strong>{{ banner }}</p>
      </div>
    </div>
  </div>
</template>

<script>
// 使用父组件传过来的数据
export default {
  props: ['id', 'date', 'uname', 'end', 'banner', 'nav'],

  computed: {},
}
</script>

<style scoped></style>
